// @Author: ls <ls-mac>
// @Date:   2020-05-09 14:50:26
// @Last modified by:   ls-mac
// @Last modified time: 2020-05-15 14:29:18

// Sass ------------------------------ */
$aside-nav-width: 200px;
$aside-menu-width: 60px;
$breadCrumbs-height: 50px;
$header-height: 60px;

$header-bg-color: #fff;
$section-bg-color: #eee;
$box-border-color: #ddd;
$footer-txt-color: #999;
$alt-bg-color: #f5f5f5;
$mask-bg: rgba(0, 0, 0, 0.3);
$line-color: #ccc;
$hover-border: 3px solid transparent;
$font-size-s: 12px;
$font-size-m: 14px;
$font-size-l: 16px;
$font-size-xl: 18px;
$font-size-xxl: 20px;
$border-radius: 4px;
$border-radius-round: 50%;

//
$blue: #1b86e9;

//  垂直
%flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

@mixin p-trb-10 {
  padding-top: 10px;
  padding-right: 10px;
  padding-bottom: 10px;
}

@mixin p-tb-10 {
  padding-top: 10px;
  padding-bottom: 10px;
}

@mixin p-lr-10 {
  padding-left: 10px;
  padding-right: 10px;
}

@mixin nav-menu-ani {
  transition: all 0.3s;
}

@mixin nav-menu-dom {
  border: none;
  white-space: nowrap;
  text-decoration: none;
  color: inherit;
  background: transparent;
  box-shadow: none;
}

@mixin nav-menu-bg-dark {
  background-color: rgba(0, 0, 0, 0.08);
}

@mixin nav-menu-bg-light {
  background-color: rgba(236, 247, 255, 1);
}

@mixin nav-menu-small {
  margin-left: 5px;
  font-size: 11px;
  opacity: 0.5;
}

@mixin nav-menu-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  font-size: 20px;
  line-height: 20px;
  text-align: center;
  vertical-align: middle;
}

@mixin nav-menu-icon-s {
  width: 16px;
  height: 16px;
  font-size: 16px;
  line-height: 16px;
}

@mixin badge-dot {
  display: inline-block;
  position: absolute;
  border-radius: $border-radius-round;
  width: 10px;
  height: 10px;
  text-indent: -9999px;
  background: #f35800;
}

@mixin nav-menu-img {
  margin: 0 2px 0 10px;
  border-radius: $border-radius-round;
  width: 40px;
  height: 40px;
  box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.6);
}

@mixin css-arrow {
  position: absolute;
  border-style: solid;
  border-color: transparent;
  width: 0;
  height: 0;
  content: "";
}

@mixin focus-shadow {
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075),
    0 0 5px rgba(128, 189, 255, 0.5);
}

@mixin required-star {
  margin-right: 0.2em;
  font-size: $font-size-xxl;
  line-height: $font-size-s;
  vertical-align: -50%;
}
